﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 		  <link rel="stylesheet" href="layui/css/layui.css"  media="all">
  <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->

<title>用户登录</title>
</head>
<body background="<%=basePath%>/images/bg.jpg)">
<br><br><br><br><br><br><br><br><br><br>

<center>
<form class="layui-form" action="<%=basePath%>/tolog.do" method="get">

  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">用户名</label>
      <div class="layui-input-inline">
        <input type="tel" name="username"  autocomplete="off" class="layui-input">
      </div>
    </div>
    <br>
    <div class="layui-inline">
      <label class="layui-form-label">密&nbsp;&nbsp;&nbsp;&nbsp;码</label>
      <div class="layui-input-inline">
        <input type="password" name="password"  autocomplete="off" class="layui-input">
      </div>
    </div>
  </div>
  
  <div class="layui-form-item">
    <div class="layui-input-block">
    <input type="submit" class="layui-btn layui-btn-primary" style="color: white; background-color: green" value="登录">
      <!-- <button class="layui-btn" lay-submit="" type="submit" lay-filter="demo1">登录</button> -->
      <button type="reset" class="layui-btn layui-btn-primary" style="color: green" >重置</button>
    </div>
  </div>

 
</form>
</center>

</body>
</html>